package com.hspedu.homework.homework10;

public class Homework010 {
    public static void main(String[] args) {
        Doctor doctor1 = new Doctor("Smith",31,"外科医生","男",9000);
        Doctor doctor2 = new Doctor("Smith",31,"外科医生","男",9000);
        System.out.println(doctor1.equals(doctor2));
    }
}
